package asteroids.model.programs.Statement;
import asteroids.model.programs.Program;

/**
* 
* @version 0.3
* @author  Tandan Sunil, Van Deun Luca
*
*/
public abstract class Statement {
	public Statement(int line , int column){
		this.line=line;
		this.column=column;
	}
	private int line;
	private int column;
	
	public int getLine(){
		return line;
	}
	public int getColumn(){
		return column;
	}
	private boolean executed;
	public abstract void execute(Program program);
	public  boolean isExecuted(){
		return executed;
	}
	public void setExecuted(boolean executed){
		this.executed=executed;
	}
	
}
